import http from '@/components/common/tui-request'


//用户登录
export const sysUserLogin = (data) => {
	return http.request({
		url: '/sys-user/sysUserLogin',
		method: 'POST',
		data: data 
	});
};

//获取当前登陆用户的信息
export const getSelfUserInfo = () => {
	return http.request({
		url: '/sys-user/getSelfUserInfo',
		method: 'GET',
	});
};